package cn.com.bluemoon.daps.model.dto.register;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DapModelRegisterDto {

    @ApiModelProperty(value = "模型id")
    private String modelId;

    @ApiModelProperty(value = "模型表id")
    private String tableId;

    @ApiModelProperty(value = "模型表id")
    private String tablePid;

    @ApiModelProperty(value = "模型名称")
    private String modelName;

    @ApiModelProperty(value = "表英文名")
    private String tableEngName;

    @ApiModelProperty(value = "表中文名")
    private String tableChinName;

    @ApiModelProperty(value = "子组")
    private String groupId;

    @ApiModelProperty(value = "父组")
    private String groupPid;

    @ApiModelProperty(value = "组路径")
    private String groupPath;

    @ApiModelProperty(value = "注册状态，1表示注册 0表示未注册")
    private Boolean registerApi;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "发布时间")
    public LocalDateTime publicTime;

}
